//
//  ChildHoodRoom.h
//  ChildHoodStemp
//
//  Created by xuzuotao on 13-9-26.
//
//

#import <Foundation/Foundation.h>
#import "Snsp.pb.h"
@class SNSPRoom;
@class ChildHoodMemory;
@interface ChildHoodRoom : NSObject
{
//    SNSPRoom* _snspRoom;
  
//    int32_t _targetMemoryId;
//    int32_t _targetClazzId;

    int64_t _roomId;
    NSDate* _createTime;
    int64_t _memoryId;
    NSString* _roomName;
 //   NSString* checkCode;
    ChildHoodMemory* _targetMemory;
 //   ChildHoodMemory* _childHoodMemories;
    NSMutableArray* _memoriesList;
    int32_t _targetClazzId;
    int32_t _targetClazzGroupId;
    
    /*
     
     @property int64_t roomId;
     @property (retain) NSString* roomName;
     @property (retain) SNSPMemory* memory;
     @property (retain) NSMutableArray* mutableMemoriesList;
     @property int64_t createTime;
     @property (retain) NSString* checkCode;
     */
    
//    NSMutableArray* mutableMemoriesList;
    
}
@property(nonatomic, retain) ChildHoodMemory *targetMemory;
@property(nonatomic, retain, readonly) NSString* roomName;
@property(nonatomic , assign, readonly) int64_t roomId;
@property(nonatomic , assign, readonly) int32_t targetClazzId;
@property(nonatomic , assign, readonly) int32_t targetClazzGroupId;


-(id)initWithSNSPRoom:(SNSPRoom*)snspRoom;

-(ChildHoodMemory*)memoryByMemorID:(int32_t)memoryID;


@end
